sql select distinct statement

join shbcf.ru